import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { resolve } from "path";

// https://vite.dev/config/
export default defineConfig({
  plugins: [vue()],
  server:{
  },
  // 多页面配置
  build: {
    rolldownOptions:{
      input: {
        main: resolve(__dirname, 'index.html'),
        "table-lite": resolve(__dirname, 'packages/table-lite/examples/index.html'),
      }
    },
  },
})
